package bank.model.vo;

//package BankServer;

/**
 * @author Kirill Dubelevich
 * @author Vadim Yurchak
 * 
 */
public class Person {
	
	public Person(String firstName,String lastName)
	{
		this.firstName = firstName;
		this.lastName = lastName;
	}
	
	
	/**
	 * 
	 * @param firstName String
	 * @param lastName String
	 * @param subName String
	 */
	public Person(String firstName,String lastName, String subName)
	{
		this.firstName = firstName;
		this.lastName = lastName;
		this.subName = subName;
	
	}
	/**
	 * 
	 * @return First Name
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * 
	 * @param firstName String
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * 
	 * @return last name
	 */
	public String getLastName() {
		return lastName;
	}
	/**
	 * 
	 * @param last name
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	/**
	 * 
	 * @return subname
	 */
	public String getSubName() {
		return subName;
	}
	/**
	 * 
	 * @param subname
	 */
	public void setSubName(String subName) {
		this.subName = subName;
	}
	
	
	private String firstName;
	private String lastName;
	private String subName;
	
	public String toString() {
		return firstName + " " + lastName + " " + subName;
	}
}
